<template>
  <div id="wrap">
    <h1>通过 RouterView传值子组件1</h1>
    <p v-for="item in props.view " :key="item">{{item}}</p>
  </div>
</template>

<script lang="ts">
export default {
  name: 'StuDemo61Son01',
};
</script>

<script lang="ts" setup>
import { type classA } from '../StuDemo61.vue';

const props = defineProps<{
  view: classA
}>();
</script>

<style lang="scss"></style>
